<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('member', 'header'); ?>
<script type="text/javascript">
<!--
	var charset = '<?php echo CHARSET;?>';
	function evaluates(){
		$('#box').toggle();
	}
//-->
</script>
<div id="main-content">
<?php include template('member', 'left'); ?>
 <div class="right">
<div class="hd">
  <h3 class="t08"><strong>网上评价</strong> >><a href="#">管理网上评价</a></h3>
</div>

<?php $n=1;if(is_array($pj_data)) foreach($pj_data AS $signed_data) { ?>
<table class="table01">
<tr><th class="th02" style="width:30%">业主信息</th><th class="th02" style="width:35%" >业主评价</th><th class="th02" style="width:35%">我的回复</th></tr>
<tr><td class="td01"><span class="span033">刘先生 <font style="color:#969696;">2010-11-15 23：44</font><br />电话：13111111111<br />2室房装修</span></td><td class="td01">
<span class="span033">
<span class="span011">工艺：<?php if($signed_data['crafts']==1) { ?>好<?php } elseif ($signed_data['crafts']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
<span class="span011">服务：<?php if($signed_data['service']==1) { ?>好<?php } elseif ($signed_data['service']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
<span class="span011">设计：<?php if($signed_data['design']==1) { ?>好<?php } elseif ($signed_data['design']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
<span class="">售后：<?php if($signed_data['sale']==1) { ?>好<?php } elseif ($signed_data['sale']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
<input name="" type="button" value="前台预览" class="h_bottom02" style=" margin:10px auto 10px 90px;" /></span>
<span class="span022"><strong>评价内容：</strong><?php echo $signed_data['content'];?></span>
</td><td class="td01"><span class="span033"><font class="colorred">装天下装饰</font>
<?php if($signed_data['rcontent']=='') { ?>
<input name="" type="button" value="发起回复" class="h_bottom05" onclick="return evaluates();"  />
<?php } else { ?>
<input name="" onclick="return evaluates();" type="button" value="修改回复" class="h_bottom05"   />
<?php } ?>
</span>
</span><span class="span022"><strong>回复：<?php echo $signed_data['rcontent'];?></strong></span></td>
</tr>
</table>
<?php $n++;}unset($n); ?>
<div class="bottom">
        <div class="sabrosus"><?php echo $pagesbar;?></div>
 </div>
<!-- 弹出的回复框 -->   
<div id="box" style="display:none;">

	<form action="index.php?m=member&c=company&a=appraisal" method="post">
	<input type="hidden" name="signedid" value="<?php echo $signed_data['signedid'];?>" />
	<div class="header p14 colorred strong">回复-<?php echo $signed_data['name'];?>的网上签约评价<input name="" type="button" class="close" value="关闭" onclick="return evaluates();"/></div>
	<div class="main">
	<div class="div">
	<span class="span011">工艺：<?php if($signed_data['crafts']==1) { ?>好<?php } elseif ($signed_data['crafts']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
	<span class="span011">服务：<?php if($signed_data['service']==1) { ?>好<?php } elseif ($signed_data['service']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
	<span class="span011">设计：<?php if($signed_data['design']==1) { ?>好<?php } elseif ($signed_data['design']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
	<span class="span011">售后：<?php if($signed_data['sale']==1) { ?>好<?php } elseif ($signed_data['sale']==2) { ?>一般<?php } else { ?>还需努力<?php } ?></span>
	</div>
	
	<div class="div"><strong>评价内容：</strong><?php echo $signed_data['content'];?></div>
	<div class="div01"><label>我的回复：</label><textarea name="rcontent" cols="" rows="" class="input04" style=" width:380px; height:80px; margin-top:4px; margin-bottom:4px;"></textarea></div>
	<input name="dosubmit" type="submit" value="提交回复" class="h_bottom02" style=" margin-left:172px;" /><input name="" type="button" value="关闭" onclick="return evaluates();" class="h_bottom02"  />
	</div>
	</form>
</div>
<!-- 弹出的回复框结束  -->
</div>
  </div>
</div>
</body>
</html>